package com.gxa.saas.mapper;



import com.gxa.saas.pojo.Goods;

import java.util.List;

/**
 * @author wanghai
 * @date 2022/6/6 19:45
 */
public interface GoodsMapper {
    List<Goods> selectByPage(Integer limit, Integer size);
    Integer insert(Goods goods);
    Integer update(Goods goods);
    Integer delete(Integer id);
    List<Goods> selectAll();
    List<Goods> selectGoodsLow(Goods goods);
    List<Goods> ascendingOrder();
    List<Goods> descendingOrder();
    List<Goods> selectGoodsHigh(Goods goods);
    List<Goods> selectTwo();
}
